package com.book.service;

import com.book.entity.BookInfo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author SuperYu  2024/6/14
 */
public interface BookInfoService {

     List<BookInfo> findAllBookInfo();

     PageInfo<BookInfo> findBookByPage(int pageNum, int pageSize);

     BookInfo findBookInfoById(int id);


     BookInfo findBookInfoByName(String name);

     List<BookInfo> findBookInfoLikeName(String name);

     List<BookInfo> findBookInfoByCondition(BookInfo bookInfo,double endPrice);

    List<BookInfo> selectBookInfoByBookSaleCount(int i);
}
